Discard pkg-config, compile with kinds of flags