Makefile changes to fix cross-compiling.

Ignore this one please, already contacted support to remove it, as I can't find a way to do it manually. This was actually the wrong Makefile. Never used git before.