added support for visual studio 2010

- added support for visual studio 2010
- removed ifdef __apple__ when including string.h for memcpy