Fix compilation errors, add umcd_test target to scons.