fix memory routines prototypes in SDK sub-projects
add header  with _MAX_PATH macro definition