minor coding style fixes.
suppressed a valgrind false positive in libdl.