revised distutil script to statically link against the core library