build lights-core