Fixed python wrapper being rebuilt every time.