Not to use obsolete API in windows8.1 project