Mo sync lib

Seems to be a nasty merge for some reason. Please have a look to verify it's ok. I really want that second commit (with the 'slashes' comment), since otherwise on-device debugging will not work on Windows