Fixed OSX premake4.lua bug, improved the Path class and some other misc stuff.