fix build with Visual Studio

add missing file sapply.c to projects