Introduce shared defines for Boost Python