Fix windows compilation
In include/math.h, M_PI is only defined under conditions :
/* Some useful constants. */
#if defined __USE_MISC || defined __USE_XOPEN
# define M_PI 3.14159265358979323846 /* pi */
M_PI is not define for Windows OS. A quick fix is to define M_PI in the code
Edited by MelanieCarriere