Updated the copyright lines
Code cleanup
Let the "dlfcn" test be more portable