misc: fixed platform detection in easybuild.sh, added check for OS X