Added linking against m and dl
Actually both dl and m needed for lib, copying all the headers
Merge pull request #3 from ethz-asl/fix/linking_libs

Added linking against m and dl