fix load library directory path