Add HAVE_ALLOCA_H etc defines to CMakeFiles.txt to avoid warnings about implicit definition of alloc