Fix relative library paths