Fixes for data member handling in reflections, as well as minor changes to shared library-related functionality.