MAINT: fix some f2py related build warnings.

This causes a lot of scipy build warnings with ``-Wwarnings``.