Career Options after PhD in Math (International)
You seem to be completely ignoring the possibility of getting a postdoc in a better school.

In addition to being a great opportunity to expand your social network, it would give you the chance to do more (hopefully good) work before applying for faculty positions.