modified the build option for minimum dependence