update to 3.0.0pre21

Can you make this compiles on windows.  If so, then, I'll make another pull request
making the version to 3.0.0 official.