scrypt code does not compile with clang