remove cfg attribute which prevents compilation

I was a tad bit too aggressive in adding attributes.  I'm not sure how I missed this one.  

`factor` is used in tests so we need for both regular compilation and for test compilations.