Put extra link flags after objects

On some systems, libraries have to specified after objects when linking.
Add Charmonizer probe for math library flags
Link with math library flags
Fix parallel builds
Set LD_LIBRARY_PATH when running tests

Needed on ELF systems.
Regenerate charmonizer.c
Add liblucy.so to .gitignore