fixed BUILD_CHACHA