Mac compile fix