Fix typos
Autotools add automake include dir
Fix build on 32-bit linux