Fix 10.6.8 compatibility