pull common makefile directives from marketplace-template (bug 1092158)