runtime: Move build to separate directory

This was originally motivated by CMake 3.0 warning about placing our
test binaries in a specific path by use of path separators in our target
name. However, out-of-tree builds are recommended by CMake anyway and
make our .gitignore cleaner