Changes to allow headless webkit to work in Jenkins on Ubuntu