Remove comments.
Use built-in append_path method.
Use pkg-config.