Better check that FRAMEWORK variable is set