fixed to allow multiproject compilation