Change the xrdp_sesrun target in sesman/tools/Makefile.am to depend on ../config.c because that's where the file is.