Make unit tests to work if Gcc is not installed into path by creating a TryCompile method