Fix static build (+android)