Update Python build with broader library support