[fix #40] fix where CIFilter raises an exception on OSX 10.9