library project support, fixes #9