Fix library dependency