Compiles successfully on mac