Enable smpswriter only if compiler supports auto.