Fix windows absolute path function.