build: Use /usr/bin/env to find python

https://bugzilla.gnome.org/show_bug.cgi?id=726909
Release version 3.12.0