Try boost build fix suggested by Mathias.