Solitary wave solutions for a general Boussinesq type fluid model