fix rake-compiler hacks when cross-compile env is missing