bug fix for dynamic loads on linux