Support openSUSE and add detection for built-in modules

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Merge pull request #2 from joergroedel/master

Support openSUSE and add detection for built-in modules