Fix boost compilation to correctly use sparc target