BLD: track add_library dependencies in distutils

Distutils does not automatically track source dependencies to
numpy.distutils add_library libraries. So it needs to be manually.

This commit causes the appropriate extension modules be rebuilt if a
change has been made in some of the sources of the libraries it depends
on.
Merge pull request #2737 from pv/special-depends

BLD: track add_library dependencies in distutils