Add mostly working OSX support to BLDi
Simple fixes for srvi