Build error on MacOSX and Linux with ITKPython enabled

When I try all the above it always stop at the DCMTK package with the following errors. Is there something I am missing?

[  0%] Building CXX object ofstd/libsrc/CMakeFiles/ofstd.dir/ofchrenc.cc.o
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:539:28: error: no class named 'Implementation' in 'OFCharacterEncoding'
class OFCharacterEncoding::Implementation {};
      ~~~~~~~~~~~~~~~~~~~~~^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:577:31: error: out-of-line definition of 'getLocaleEncoding' does not match any declaration in 'OFCharacterEncoding'
OFString OFCharacterEncoding::getLocaleEncoding()
                              ^~~~~~~~~~~~~~~~~
/opt/local/include/dcmtk/ofstd/ofchrenc.h:97:21: note: member declaration does not match because it is const qualified
    const OFString &getLocaleEncoding() const;
                    ^                   ~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:587:29: error: out-of-line definition of 'supportsConversionFlags' does not match any declaration in 'OFCharacterEncoding'
OFBool OFCharacterEncoding::supportsConversionFlags(const unsigned flags)
                            ^~~~~~~~~~~~~~~~~~~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:598:5: error: member initializer 'TheImplementation' does not name a non-static data member or base class
  : TheImplementation()
    ^~~~~~~~~~~~~~~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:605:27: error: no member named 'TheImplementation' in 'OFCharacterEncoding'
  : TheImplementation(rhs.TheImplementation)
                      ~~~ ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:619:5: error: use of undeclared identifier 'TheImplementation'
    TheImplementation = rhs.TheImplementation;
    ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:619:29: error: no member named 'TheImplementation' in 'OFCharacterEncoding'
    TheImplementation = rhs.TheImplementation;
                        ~~~ ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:624:22: error: out-of-line definition of 'operator bool' does not match any declaration in 'OFCharacterEncoding'
OFCharacterEncoding::operator OFBool() const
                     ^~~~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:626:34: error: use of undeclared identifier 'TheImplementation'
    return OFstatic_cast(OFBool, TheImplementation);
                                 ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:630:29: error: out-of-line definition of 'operator!' does not match any declaration in 'OFCharacterEncoding'
OFBool OFCharacterEncoding::operator!() const
                            ^~~~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:632:13: error: use of undeclared identifier 'TheImplementation'
    return !TheImplementation;
            ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:636:29: error: out-of-line definition of 'operator==' does not match any declaration in 'OFCharacterEncoding'
OFBool OFCharacterEncoding::operator==(const OFCharacterEncoding& rhs) const
                            ^~~~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:638:37: error: no member named 'TheImplementation' in 'OFCharacterEncoding'
    return TheImplementation == rhs.TheImplementation;
                                ~~~ ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:638:12: error: use of undeclared identifier 'TheImplementation'
    return TheImplementation == rhs.TheImplementation;
           ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:641:29: error: out-of-line definition of 'operator!=' does not match any declaration in 'OFCharacterEncoding'
OFBool OFCharacterEncoding::operator!=(const OFCharacterEncoding& rhs) const
                            ^~~~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:643:37: error: no member named 'TheImplementation' in 'OFCharacterEncoding'
    return TheImplementation != rhs.TheImplementation;
                                ~~~ ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:643:12: error: use of undeclared identifier 'TheImplementation'
    return TheImplementation != rhs.TheImplementation;
           ^
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:655:31: error: out-of-line definition of 'getConversionFlags' does not match any declaration in 'OFCharacterEncoding'
unsigned OFCharacterEncoding::getConversionFlags() const
                              ^~~~~~~~~~~~~~~~~~
/Users/alex/GIT/build/slicer/DCMTK/ofstd/libsrc/ofchrenc.cc:665:34: error: out-of-line definition of 'setConversionFlags' does not match any declaration in 'OFCharacterEncoding'
OFCondition OFCharacterEncoding::setConversionFlags(const unsigned flags)
                                 ^~~~~~~~~~~~~~~~~~
19 errors generated.
make[2]: *** [ofstd/libsrc/CMakeFiles/ofstd.dir/ofchrenc.cc.o] Error 1
make[1]: *** [ofstd/libsrc/CMakeFiles/ofstd.dir/all] Error 2
make: *** [all] Error 2