Only add -Ilibdvdnav to the CFLAGS of the files that require it.