Include Python headers early on to avoid warnings