add #else for ifdef