use of undeclared identifier in header file (clang) - c