changes to build larcore