#ifndef M_PI #define M_PI 3.1415926536#endif
Disabling "-std=c++11" for now did the trick (moving M_PI def to burn_endian didn't). But we'll have this issue again when mips3 won't be a WIP anymore (seems like it needs -std=c++11 to compile).