Makefile wasn't properly cross-compiling