fixing build errors from autobuild