Correct makefile test for stagefright build

Change-Id: Ia79b97d43e3fad82491e7d6197ffef2e764a63e3
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
diff --git a/core/main.mk b/core/main.mk
index f9e1098..b1a54ef 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -274,7 +274,7 @@
 endif
 
 # build the full stagefright library
-ifneq ($(strip BUILD_WITH_FULL_STAGEFRIGHT),)
+ifneq ($(strip $(BUILD_WITH_FULL_STAGEFRIGHT)),)
 BUILD_WITH_FULL_STAGEFRIGHT := true
 endif