moved libbthread to external repo