Are you using Sage 9 or 10? For Sage 9 there is an update branch that should fix all the build issues: