Merge pull request #4 from mstorsjo/master

Merge updated upstream code, clean up the autotools build files
No dist-xz for EL5

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Merge pull request #5 from lemenkov/old_autotools

No dist-xz for EL5 (and perhaps for some other stable systems)