make path to lib relative