Fixed most of the Windows linker issues, checking for Linux, now.