fix the loudia build scripts