Modified for Linaro building