Fixed bug which caused installation to fail.