add header/linker search paths and flags