vector fixes for linux