make debian like systems detect architecture proeperly