Fix out of tree builds

mkdir build && cd build && ../configure
now works fine