Fix build with libgomp

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Revert "Fix build with various libs on android"

This reverts commit da6a541bbd6d4540f44477e49389cbe2c45e4fb6.
Fix build with libquadmath

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>
Fix build with libsanitizer

Signed-off-by: Paul Beeler <pbeeler80@gmail.com>