The answer is given in this link: https://groups.google.com/a/webmproject.org/forum/#!topic/webm-discuss/C5nzgPiPDF4
I extended the file in vpx_ports/emmintrin_compat.h by adding the definitions for those functions:
#if (_MSC_VER == 1400)
// For Visual Studio 2005
__inline __m128i _mm_castps_si128(__m128 PS) { union { __m128 ps; __m128i pi; } c; c.ps = PS; return c.pi; }
__inline __m128 _mm_castsi128_ps(__m128i PI) { union { __m128 ps; __m128i pi; } c; c.pi = PI; return c.ps; }
__inline __m128d _mm_castsi128_pd(__m128i PI) { union { __m128i pi; __m128d pd; } c; c.pi = PI; return c.pd; }
#endif
This change fixed the problem.