Make build system compatible with boost filesystem library version 1.54