fix: modify how to compile program that support cmake and scons auto-tools