fix autotools build for data-tracks branch

This code is fairly outdated, but compilation should work before we
merge the master branch changes.