Are you sure that the link says Cross Entropy is not a good choice? Nevertheless,  Balanced Cross Entropy/Dice loss  has shown good results for problems like these and it is always better to try and see before arriving at a conclusion.
Check out EAST paper: https://arxiv.org/abs/1704.03155 45