Hilarious Error in OS Checking