Revert "Fixed GafferImageUI linking on Mac."

This reverts commit d37384f57f360676c60fa7ba399404ee83b56b5b.
Actually fixed GafferImageUI linking on Mac.

Also fixed linking of the python modules.