Merge pull request #10 from evoskuil/version3

Restore visibility flags, change --enable-debug, add a testnet build.