Fix a bug for non LINK_MINIMUM linkage.
Inclue <vector> in the header file.