Fix running the bucket tests on Windows, by using the static library build instead of a combination of the shared library build and certain direct object files.
Fix running the bucket tests on Windows, by using the static library build
instead of a combination of the shared library build and certain direct
object files.

This had the nice side effect of adding a second definition of
"serf_buckets_are_v2", outside 'serf-2.dll'

* SConstruct
  - Pass existing $PATH to check.py, to allow running tests on Windows.
  - Link to the static library name on Windows.
    (This doesn't have side effects on other platforms because the
     serf library name for shared and static libraries are identical there)
  - Remove explicit linking to bucket/*.c from the tests.

alex1818/serf,stoneCC/serf,alex1818/serf,zhupan/serf,SirJson/serf,x-clone/serf,yesoce/serf,stoneCC/serf,KyleSanderson/serf,soufianeEL/serf,stoneCC/serf,yesoce/serf,lazysoez/serf,x-clone/serf,google-code-export/serf,yesoce/serf,zhengcq315/serf,pengdu/serf,lazysoez/serf,SirJson/serf,zhengcq315/serf,zhupan/serf,google-code-export/serf,alex1818/serf,alex1818/serf,x-clone/serf,SirJson/serf,zhengcq315/serf,pengdu/serf,lazysoez/serf,zhengcq315/serf,KyleSanderson/serf,google-code-export/serf,zhupan/serf,SirJson/serf,KyleSanderson/serf,x-clone/serf,yesoce/serf,google-code-export/serf,soufianeEL/serf,KyleSanderson/serf,zhupan/serf,lazysoez/serf,pengdu/serf,soufianeEL/serf,pengdu/serf,stoneCC/serf,soufianeEL/serf