remove prepared libs from template