postgresql: update to 8.4.17; added rudimentary cross build support.