fix the compile host and compiler

using standard methods to obtain the compile host an compiler name