fix compilation of targets using BOOTSTRAP=yes