Fix mkc_test_nm on Linux
Fix examples/hello_compatlib test on non-BSD systems