Build core objects in subdirectory, fixes issue #82