fixed make rules that broke autobuild by recent changes.