Debug mode was compiling for windows by mistake.