compile on yosemite with new static lib config