Fix RAM detection if defined w/o units.