Cmake parallel build

Except for setting the flag for Win VS. For Unix Makefile it is not supported.