build: Run build command before checking if all files are present

If a Capstanfile has 'build' command defined, we need to run it before
checking if all files are present.

Fixes cloudius-systems/capstan-example-java#2.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>