Replace if-ladder, add armv7l as supported