Fix library with header only.