Fixed usemin build process on template