Corrected slave installer

After this the slave installed succesfully without any errors and seems to be working on Centos 6.5. 

(Had OpenVZ preinstalled)