add support for ctors/dtors on arm with modern gcc