Fixed error message and potential NPE in SetCompilerVersionCommand