Conditional compilation improved

Signed-off-by: Bleska <blecha.jiri@gmail.com>