make advanced compilation work