fix compilation for jaot project