compiling for cdh3