Fix required lib paths