Added a check if install prefix is set