Fix build environment lookup.
Fix active flag on build env lookup
Merge branch 'master' of github.com:nicholasdavidson/pybit