It would be nicer to do this at compile time, but then we would need to compile libgtk2 for the host as well.