Clang compiler fixes

Fixed code to compile with clang.

Also:
- Fix a few spelling errors
- Add `autreconf` hint to README

![image](https://cloud.githubusercontent.com/assets/6345473/2976461/0310a5d0-dba1-11e3-86ad-1f7d20f3439e.png)