linking seems fine now (at least on osx)