Make the source code more compatible with my public fork of libfxcg. Still very far from being able to compile with my fork or even the original libfxcg, as their libc is lacking all the math functions (to mention one of the many problems).