Fix demo static build