Remove relative path, but do special check for windows