Modifications for OSX and cefpython