BOINC Windows build fixes for VS2013. This likely also fixes a potential bug: misuse of return value of getline(). Unit Tests: All Pass Integration Tests: No changes