move toolchain option validation to tools.options