Fixed declarations involving f2py fortranname keyword for compatibility
with OSX.