CMake outputs libactor.so instead of .a
Set enable testing only on test/ directory.