Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P

The 'AM_PROG_MKDIR_P' macro is deprecated.
Don't dist config.py

config.py will be generated from config.py.in.