Make TPL code Silverlight compatible

Fix broken Silverlight build leftover by #66.

@danielkzu, I have run `build.cmd` successfully, everything seems to be good now.