Sorry, I've seen your questions only right now. Is the issue still open?
In the mean time V4.0.4 has been released as the "official" V4.0 version, and PostgreSQL 8.4 is the default database both on Linux and on Windows.
Cheers! Frank