Fix AM/PM alignment and correct ANT build