DetectMachine.cmake: do not use lib64 as LIB_DIR anymore

Installing to $prefix/lib64 is not usual anymore and thus we change it here
to just install all libraries to $prefix/lib.