this should be 
```
set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS OFF)
```
set() only sets (local?) variables, since FIND_LIBRARY_USE_LIB64_PATHS is a global property we need to set it like this to work correctly.