Fix ENABLE_STATIC