Fix for starting demo on osx.