Fixes

Change build version to 0.3.1dev and fixed error in buildfile that kept
the build from succeeding on windows.