Make jake debug and jake release only if cappbuild is defined