trying to impliment if statements for windows vs linux