Bug fixes to PNaCl vectors