bitcoin-api pch, and tr1 auto-detection