Fixed code to work properly with Windows (ceylon/ceylon-compiler#750)