Improve build system with pkg-config