Inserting elements onto stateMap instead of emplacing (for mingw compatibility)