backpatch fix to build to allow travis CI to build it