build pd-core as a static library

so it can be used to build "libpd"