functions: Add CT_FindRelativePath

.. needed for Windows due to it lacking a single
hierarchy filesystem.
Use CT_FindRelativePath for gcc and gmp