fix the warning about loading libraries from the project dir