Pre C++11 support: use static function to initialise vector