fix: path resolving was wrong when built as a subproject