fix module static build