Cast expires env variable to integer