fixed bitcoin build bug #3162

fixed bitcoin build bug #3162 https://github.com/bitcoin/bitcoin/pull/3162