Fix #1428 (library ghost checks)
Merge pull request #1431 from wild-billy/librarycomps

Fix #1428 (library ghost checks)