Add support for Windows DLL builds.

BUG=aomedia:801

Change-Id: I31b11e1168766d1ba025b920806c6ee6dc10dc4e
diff --git a/test/coding_path_sync.cc b/test/coding_path_sync.cc
index 51a5060..6735236 100644
--- a/test/coding_path_sync.cc
+++ b/test/coding_path_sync.cc
@@ -27,7 +27,7 @@
 class CompressedSource {
  public:
   explicit CompressedSource(int seed) : rnd_(seed), frame_count_(0) {
-    aom_codec_iface_t *algo = &aom_codec_av1_cx_algo;
+    aom_codec_iface_t *algo = aom_codec_av1_cx();
 
     aom_codec_enc_cfg_t cfg;
     aom_codec_enc_config_default(algo, &cfg, 0);
@@ -140,7 +140,7 @@
 class Decoder {
  public:
   explicit Decoder(int allowLowbitdepth) {
-    aom_codec_iface_t *algo = &aom_codec_av1_dx_algo;
+    aom_codec_iface_t *algo = aom_codec_av1_dx();
 
     aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
     cfg.allow_lowbitdepth = allowLowbitdepth;