Fix compile error due to missing StyleFactory constant