template: fix missing INCLUDE_DIRS for extensions