An approximate global solution of Einstein’s equation for a rotating compact source with linear equation of state