Make project work on MacOS