fix a compilation error.
make the batch size configurable.
add the build status.