Buildfix for BHarmattan and Blackberry. Was missing math.h