Some more build configuration changed. To make things work properly user has to specify build type when calling cmake e.g. cmake -DCMAKE_BUILD_TYPE=Release ..