Linux: Simplify header file checks