Added the host prefix after checking for manual compiler and linker settings allowing for override.