add safe package to cabal file
cppgen: add const qualifier to comparison functions