Fixed installer to work on latest official Ubuntu 12.04 LTS cloud image

I ran into some issues installing Scalr using the install script on the latest official Ubuntu 12.04 LTS cloud image. This PR fixes those problems.
Disclaimer: I don't know if it causes new ones if you're doing your own ubuntu install.