Removed check for "c:" and added check for windows platform