Using the latest pegasus; fixing some issues with build settings on mac