Preventing templates from being copied during build