Makefile: fix java build warning

This is a workaround that makes the warning go away.  Not certain there
isn't something we should be changing...

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joe Buck <joe.buck@inktank.com>