Remove debug info. And add warning message if pkg-config not found.