ENH: Fixes for Makefile, allow cross compilation
ENH: fixes allow multi-platform compilation