add support for vector<bool>