change dir to lib