Add the unwanted options to the NODIRPATHS variable.

Example (useful when using a meson build):

NODIRPATHS += --exec_prefix
