Fix conditional

Fix conditional compilation checks introduced in
4f6fbcfc5f685bfd67a69e014eb18df4d984ae36.