merge from wukong, fix the bug of build x264 on minimal server