fix compilation and missing project reference