thruk: fixed makefile shell conditionals

Signed-off-by: Sven Nierlein <sven@nierlein.de>