adding --gc-sections back in to the template