Fix 10.10 support thanks to @BrunoDCC