Bilge pump with internal float switch