Make timer compile for F4