make the install work if library path is not set in preferences.txt