fixed sparse-array linker problem