cmake setup-hook: fixing cmakeFlagsArray

The array wasn'te expanded properly, the spaces weren't preserved.