Fix embedded build

Do not attempt to load auth plugins - this does not make sense on
embedded target anyway.

Change-Id: Ie92d2eea21e19e499b3f3bb4d5a82e31fbbea3f0
diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c
index 9e3b2c0..400708f 100644
--- a/src/gsm/auth_core.c
+++ b/src/gsm/auth_core.c
@@ -20,6 +20,8 @@
  *
  */
 
+#include "config.h"
+
 #include <errno.h>
 #include <stdint.h>
 #include <string.h>
@@ -71,7 +73,11 @@
 int osmo_auth_load(const char *path)
 {
 	/* load all plugins available from path */
+#if !defined(EMBEDDED)
 	return osmo_plugin_load_all(path);
+#else
+	return -1;
+#endif
 }
 
 /*! Determine if a given authentication algorithm is supported
diff --git a/src/gsm/gprs_cipher_core.c b/src/gsm/gprs_cipher_core.c
index 6fa25d6..7f2b1a5 100644
--- a/src/gsm/gprs_cipher_core.c
+++ b/src/gsm/gprs_cipher_core.c
@@ -23,6 +23,8 @@
  *
  */
 
+#include "config.h"
+
 #include <errno.h>
 #include <stdint.h>
 
@@ -68,9 +70,11 @@
 /* load all available GPRS cipher plugins */
 int gprs_cipher_load(const char *path)
 {
+#if !defined(EMBEDDED)
 	/* load all plugins available from path */
 	if (path)
 		return osmo_plugin_load_all(path);
+#endif
 	return 0;
 }