Fixed a bug with the buildMoSyncLibs script