Fix M_PI in settings.hpp instead of using pi.hpp header