Fix for a compiler issue on OSX ('value_type' is a private member of 'gr...

...aphlab::discrete_domain::ConstIterator') which seems to be a LLVM bug (see http://llvm.org/bugs/show_bug.cgi?id=12240).

This issue has been discussed in https://github.com/graphlab-code/graphlab/issues/101.