Reduce logging output
Use only major version for Mac OS X