Fix the build with -DNDEBUG.

Dike out the body of VerifyCompactionResult.  With assert() compiled out, the
loop index variable in the inner loop was unused, breaking the build when
-Werror is enabled.
Merge pull request #443 from behanna/master

Fix the build with -DNDEBUG.
Fix the build on Mac OS X
Merge pull request #444 from adamretter/java-api-fix

Fix the Java API build on Mac OS X
Fix compile of compact_file_example
Clean up compile for c_simple_example