Use RbConfig.ruby if it's available
Stop exposing mktemp as a public method on formula objects
Fix visibility of FileUtils extension methods