support for building on Mac