Today I've updated ubuntu and swig php interface doesn't work anymore.

My config:
- Ubuntu 13.10
- MongoDb 2.4.6
- Boost 1.54
Swig 2.0.11
- Php 5.5.3

D interface compiles smoothly. 
Php interface gives some errors. Any guess?

Here the log:

[  6%] Building CXX object CMakeFiles/php.dir/home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/php_swig_interface.cpp.o
In file included from /usr/include/boost/smart_ptr/detail/array_deleter.hpp:12:0,
                 from /usr/include/boost/smart_ptr/make_shared_array.hpp:13,
                 from /usr/include/boost/smart_ptr/make_shared.hpp:18,
                 from /usr/include/boost/make_shared.hpp:15,
                 from /usr/include/boost/smart_ptr.hpp:28,
                 from /usr/local/include/mongo/pch.h:49,
                 from /usr/local/include/mongo/db/jsobj.h:31,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/../includes/object.hpp:7,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/php_swig_interface.cpp:1294:
/usr/include/boost/smart_ptr/detail/array_utility.hpp:33:77: error: macro "array_init" passed 3 arguments, but takes just 1
         inline void array_init(T* memory, std::size_t size, boost::true_type) {
                                                                             ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:39:78: error: macro "array_init" passed 3 arguments, but takes just 1
         inline void array_init(T* memory, std::size_t size, boost::false_type) {
                                                                              ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:59:59: error: macro "array_init" passed 2 arguments, but takes just 1
         inline void array_init(T* memory, std::size_t size) {
                                                           ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:61:42: error: macro "array_init" passed 3 arguments, but takes just 1
             array_init(memory, size, type);
                                          ^
In file included from /usr/include/boost/smart_ptr/make_shared_array.hpp:13:0,
                 from /usr/include/boost/smart_ptr/make_shared.hpp:18,
                 from /usr/include/boost/make_shared.hpp:15,
                 from /usr/include/boost/smart_ptr.hpp:28,
                 from /usr/local/include/mongo/pch.h:49,
                 from /usr/local/include/mongo/db/jsobj.h:31,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/../includes/object.hpp:7,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/php_swig_interface.cpp:1294:
/usr/include/boost/smart_ptr/detail/array_deleter.hpp:32:40: error: macro "array_init" passed 2 arguments, but takes just 1
                 array_init(memory, size);
                                        ^
/usr/include/boost/smart_ptr/detail/array_deleter.hpp:83:37: error: macro "array_init" passed 2 arguments, but takes just 1
                 array_init(memory, N);
                                     ^
In file included from /usr/include/boost/smart_ptr/detail/array_deleter.hpp:12:0,
                 from /usr/include/boost/smart_ptr/make_shared_array.hpp:13,
                 from /usr/include/boost/smart_ptr/make_shared.hpp:18,
                 from /usr/include/boost/make_shared.hpp:15,
                 from /usr/include/boost/smart_ptr.hpp:28,
                 from /usr/local/include/mongo/pch.h:49,
                 from /usr/local/include/mongo/db/jsobj.h:31,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/../includes/object.hpp:7,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/php_swig_interface.cpp:1294:
/usr/include/boost/smart_ptr/detail/array_utility.hpp:33:21: error: variable or field ‘array_init’ declared void
         inline void array_init(T* memory, std::size_t size, boost::true_type) {
                     ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:34:13: error: expected primary-expression before ‘for’
             for (std::size_t i = 0; i < size; i++) {
             ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:34:13: error: expected ‘}’ before ‘for’
/usr/include/boost/smart_ptr/detail/array_utility.hpp:34:37: error: ‘i’ does not name a type
             for (std::size_t i = 0; i < size; i++) {
                                     ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:34:47: error: ‘i’ does not name a type
             for (std::size_t i = 0; i < size; i++) {
                                               ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:39:21: error: variable or field ‘array_init’ declared void
         inline void array_init(T* memory, std::size_t size, boost::false_type) {
                     ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:41:25: error: expected primary-expression before ‘i’
             std::size_t i = 0;
                         ^
/usr/include/boost/smart_ptr/detail/array_utility.hpp:41:25: error: expected ‘}’ before ‘i’
/usr/include/boost/smart_ptr/detail/array_utility.hpp:42:13: error: expected unqualified-id before ‘try’
             try {
             ^
In file included from /usr/local/include/mongo/db/jsobj.h:33:0,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/../includes/object.hpp:7,
                 from /home/andrea/src/[XXXXXX]/next-gen/CppCore/php_swig/php_swig_interface.cpp:1294:
/usr/local/include/mongo/util/optime.h:36:16: error: expected ‘}’ before end of line
 #pragma pack(4)
                ^
/usr/local/include/mongo/util/optime.h:36:16: error: expected declaration before end of line