Fix to use latest API.
Fix size of malloc (was broken on 64-bit).
Include 64-bit builds for sample Core Data project.