Check the feature macro before assuming boost.filesystem