Fixing compile error when #f conditional is enabled