build: compile test target for Apache Hadoop

Compile both examples and test targets
for Apache Hadoop

Signed-off-by: Joe Buck <jbbuck@gmail.com>