fixed bug in "ipic cmake" command