Fix setting autoconf flags for using nifs
Fix ejson nif configure against R14B04