Make application compatible for OTP releases

Details: https://github.com/meh/reagent/pull/2