add an escape for when targethost is not defined but usecrosscompile is.
fix the ability to use targethost when defined.
write_buildcustomize.pl now uses Config, so add a Makefile dependency.