Fix build-all-dev target (rebased onto develop)



This is the same as gh-1561 but rebased onto develop.

----

The `build-all-dev` ant target should call only `*-all` targets internally (or more importantly, no target which sets `NOMAKE=1`)