Fix settings for autotools and add some instructions into README.md