Makefile fixes for OSX 32-bit cross-compile.