Bugfix for subdirectory installation