Build libm
Remove old parts from configure.ac
Fix path problems in generated wrappers
Add a .gitignore to libm