Fix 10.6 detection