Fix build_pass_manager fpm handling
Fix for PY3