Fixed bug in Makefile for cross-compiling