Added /usr/local/include in user header search path, and just commented out a couple of unused variables.