small fixes to apache maven recipe -- confirmed builds on linux and osx