Truncate func names when reading symbol maps.

Otherwise they'll get trashed.
Get rid of some unnecessary ifdefs, fix build.