Ctest fix

allows for use of make, make test, make install workflow