Added --with-K flag.

Signed-off-by: Ulf Norell <ulf.norell@gmail.com>