remove the optional binaries installation code, fix #2793