Add DEBUG mode & PROFILE mode in configure.ac