Traveling wave solutions for a generalized Ostrovsky equation