updated for latest boost::type_index

boost::type_index undefined with latest changes.
Updated to reflect this - boost::typeind::type_index should be used.
Also removed <boost/ part from singularity include until it not part of the boost.
Here the example project I've used https://github.com/snikulov/boost.app.cmake for reference.