Removed reference to libpq.dylib and organized library references.