[CMAKE] Fix problem with __RELFILE__ not working when compiler uses relative pathes