fix windows build: M_PI undefined