Got abstract classes working using cilk