initial support for module config directives.
compile fixes.
prefix flag names.
Merge branch 'config-directives'