Fix the OSX build and experimental Linux example.