cleaned up compilation to build and link with openMP
this runs, but still not usig openMP without a segfault when initall is called on a copied astar class