compile modules as functions by default, strings optional