Tested, fixed Ubuntu detection