def compiler_safe_path(*pieces)
      path = File.join(*pieces)
      path = path.sub(/^([A-Za-z]):\//, "/\\1/") if ENV["MSYSTEM"]
      path
    end
def compiler_safe_path(*pieces)
      path = File.join(*pieces)
      path = path.sub(/^([A-Za-z]):\//, "/\\1/") if ENV["MSYSTEM"]
      path
    end
Convert the given path to be appropriate for usage with the given compiler

 @param [String, Array<String>] pieces
   the pieces of the path to join and fix
 @return [String]
   the path with applied changes