fio: allow for build in separate build directory
Change configure so that it will use its current directory for building,
and the path to the script itself as the source directory.
Change the Makefile to use VPATH to find the source files. Only a few other
things needed to be touched:
- use the full path to the source in wildcard, then strip it off again
- search both build and source for header files
- FIO-VERSION-GEN is in source
- make directories in build as needed
- use $< to refer to input files
- install non-executables from source
Signed-off-by: Jeremy Fitzhardinge <jeremy@exablox.com>