Compilation error being observed on windows due to aligned_alloc() call. Mapped the call to _aligned_malloc() for windows.