Please note, that if IntelliSense is enabled in Visual Studio, there is a possibility of false-positive errors of this kind. However, you should be able to compile your project successfully.
If you like to learn more about setting up Visual Studio 2013 for UE4, please go here: