fix link libs