Build system: make it work for modules which do not need libraries
Merge pull request #310 from andlaus/allow-nolib

Build system: make it work for modules which do not need libraries
Merge remote-tracking branch 'upstream/master'