[buildsystem] Distribute jacobian.mac.

Fix distribution of jacobian.mac for both autotools and CMake.
The file remains with the headers, maybe we should find a better
place then in includes.