Hid std::make_shared<kernel_generator_state>() into empty_state()

This is a workaround for Visual Studio bug:
https://connect.microsoft.com/VisualStudio/feedback/details/557653