Updated lambda compatibility on OSX to only be enabled on 10.9 and above (sigh..)