avoid the new boost::fs::canonical function to support Boost 1.46.1