reduce leakage; use static build