change order for static lib compatibility