Fixed the build system to include warnings, fixed a shitton of warnings, freeimage is still fucked.