Added wrapper for dynamic linker code so that it can be made cross-platform
in the future. NOTE: Makefile.am needs to be fixed!