Fixing mac build