Merge pull request #87 from fdelapena/master

Enable extra portability warnings and add missing ar program check