preparations for making it compatible for VS2012