Some compilers are picky about accessing the first element of a std::vector if