Fixes mac build