add support for linux dynamic dll loading