m4 directory check added in autogen script

autogen.sh script will create m4 directory, so m4 directory can now safely be removed.