Get rid of crypto warnings

Also should be backwards compatible options back to R14 based on
compile macros in rebar