def build_lcms_70(compiler):
    """Link error here on x64"""
    if compiler['platform'] == 'x64':
        return ''
    """Build LCMS on VC2008. This version is only 32bit/Win32"""
    return (
        """
rem Build lcms2
setlocal
set LCMS=%%LCMS-2.7%%
rd /S /Q %%LCMS%%\\Lib
rd /S /Q %%LCMS%%\\Projects\\VC%(vc_version)s\\Release
%%MSBUILD%% %%LCMS%%\\Projects\\VC%(vc_version)s\\lcms2.sln /t:Clean /p:Configuration="Release" /p:Platform=Win32 /m
%%MSBUILD%% %%LCMS%%\\Projects\\VC%(vc_version)s\\lcms2.sln /t:lcms2_static /p:Configuration="Release" /p:Platform=Win32 /p:PlatformToolset=v90 /m
xcopy /Y /E /Q %%LCMS%%\\include %%INCLIB%%
copy /Y /B %%LCMS%%\\Lib\\MS\\*.lib %%INCLIB%%
endlocal
"""
         % compiler)
