Move Linux guard to correct location