fix handling of inherits attribute per issue #10
updated build: fixes #10