Fix cmake path finding for amd libs.

There is no WIN64 defined in the environment.