Fix option check in pg_compile

This made pg_compile -c not working properly.