revert to msync for OSX - #162