make tests compilable even if lib is added to project in subdir