Fix library paths