Added support for Linux in the lib loading mechanism.