adding library loading for linux