There is something wrong going on in the configure script approximately line 19203 CFLAGS="$libotr_save_CFLAGS" clobbers the -I$libotr_inc_prefix value so that next compile fails.