Fixes to build chicken from makefile, including adding postgresql and making a bin dir under the platform