result handling rewriten more functional style
cosmetic change on compile_module method
include flags handled properly: `-I /path` and `-I/path` both works