microsoft warning fixed for aligned allocation

fix for issue 640