Fixed mac build