Temporary fix for demo1 compilation on Max OS X