cmake: Allow to choose build type on command line.