add missing ifdef