Due to police pension, have 0 social security taxes withheld on paycheck. How do we avoid being penalized at filing time when it appears we owe a bunch of SS taxes?

At filing time we always owe thousands, I believe because the W2 shows we haven't paid any SS tax for the year. How can I show that we don't owe that?