MOSYNCLIB-27: Minor changes so that nbuild works on Windows