dir505: fix imagebuild Makefile