compilation problem in Gklib under Visual Studio

Trying to compile parmetis under VS2010 I got the following error:

>> GKlib\GKlib.h(51): fatal error C1083: Cannot open include file: 'regex.h': No such file or directory

I couldn't find "regex.h" but I found the "regex" file in c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\

I tried to use USE_GKREGEX cmake variable, but got a lot of compiler's errors.
The problem reproduced with VS2008.

Under Linux (RHEL and Ubuntu) the same code was compiled by gcc4.4.3 without troubles.

Could you help me with that ?
Thanks in advance.

RE: That is strange, as it builds

That is strange, as it builds okay with me using the vsgen.bat to run cmake and generate the VS project files.

RE: solved

I tried to solve it again and found that you use gkregex.h instead of regex.h in case of compilation under VS. It's controlled by prepossessing parameter USE_GKREGEX in the file GKlibSystem.cmake
I didn't notice that when I was integrating metis into our cmake structure for first time. It works now.