move all compatibility target to first position in file