These files /usr/include/* if not configured properly creates trouble when compiled. Replacing these files in that location solves the problem.