STATIC_H3D flag to compile static libs