[PATCH] build: have a disable-static build succeed