add MaxAPI.lib only on WIN32 platform