Build: fix portable build directives in FindRoots