By default set WITH_NEXT_FRAMEWORK to 0

A CMake option named "WITH_NEXT_FRAMEWORK" could be added so that
a framework is generated. This would be equivalent to the "--enable-framework"
option.