Self-propelled motion in a viscous compressible fluid