Support demangling of symbols on Linux.

There are issues with finding symbols for static functions, so the tests
have been updated to have a mix of static and non-static functions.