Fix #307 Generated code by mapper-generator fails to compile when specifying schema

refs #307