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