fixed boost::any_cast exception being thrown, test now runs as intended
Merge branch 'n3960' of https://github.com/STEllAR-GROUP/hpx into n3960