Fixed installation to non-custom directories.