* updated premake.sh (use the sysctl output directly on osx/*bsd to get the number of logical processors)