set the correct compiler depending on if we are doing a hosted or native build