Fixed custom library directories.