Mac compile errors