Fix osx detection, we do not parse result of os.getversion() in premake (seems it return something strange). Instead use internal os detection in premake.
Merge pull request #234 from vovkasm/fix_osx_detection

Fix osx detection, we do not parse result of os.getversion() in premake ...
Fixed the duplicated names pass check for conversion operators.