Fix the deprecate message on build script