Fix segfault on RHEL6.

Each Python module was separately linked to each core library, which is
unnecessary. They only each need to link to the boost python libraries.
Most systems handled this multiple linking without a problem but RHEL6
would segfault when accessing the NeXus C api.
Refs #7798