Changed nginx install script to work on Ubuntu Trusty