Updated with the monarch branch

errors compiling in mac see issue here https://github.com/luke-jr/bfgminer/issues/413