ProGen templates: support for additional compiler and linker flags