Hugepages for Linux speed optimization + fixing MacOS build