Cleanup wrapper makefile when java bindings not enabled