fixed compilation issues of the project