fix figure compilation target