make boost support optional