"out of source"-cmake build works, testing mostly not