Fix weird build error caused from package import