Fixed python3 extension loader bug