fix situation when the installation is in a subdirectory