fix compilation dependency