Fix for autotools build
Merge remote-tracking branch 'upstream/master'