allow building on Mac