Check and apply -Wno-old-style-cast for Apple clang 4.0 and autotools.
Merge pull request #434 from umireon/autotools-wnooldstylecast

Check and apply -Wno-old-style-cast for Apple clang 4.0 and autotools.