Add -Wno-error=declaration-after-statement to extra_compile_args

See http://bugs.python.org/issue21121

Fixes #639.
Can you add a comment here explaining this fix? Eventually we may not need it anymore so it would be good to know when we can drop it.