Accept any values for extensions options

Fix a bug where options for assetsExt and templatesExt would always be compared to default ones and wouldn't allow custom values.