attempted portability workaround for libc++