Make it work on Mac OS