Fixes cross compiling. Now uses standard libs. Compiling 64bit windows also now possible