java: append -fpermissive to CMAKE_CXX_FLAGS rather than override