Build 32Bit on 64Bit Linux machine

I’m trying to build a 32Bit VST on my 64Bit Ubuntu 18.04 machine. The compilation gets stuck at some point telling me:

In file included from /home/frederik_siepe/JUCE/modules/juce_audio_formats/codecs/juce_FlacAudioFormat.cpp:151:0,
                 from /home/frederik_siepe/JUCE/modules/juce_audio_formats/juce_audio_formats.cpp:66,
                 from ../../JuceLibraryCode/include_juce_audio_formats.cpp:9:
/home/frederik_siepe/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c: In function ‘void juce::FlacNamespace::FLAC__cpu_info(juce::FlacNamespace::FLAC__CPUInfo*)’:
/home/frederik_siepe/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c:250:3: error: ‘__sigemptyset’ was not declared in this scope
   __sigemptyset(&sigill_sse.sa_mask);
   ^~~~~~~~~~~~~
/home/frederik_siepe/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c:250:3: note: suggested alternative: ‘sigemptyset’
   __sigemptyset(&sigill_sse.sa_mask);
   ^~~~~~~~~~~~~
   sigemptyset
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-3.0/gdk/gdkconfig.h:13,
                 from /usr/include/gtk-3.0/gdk/gdk.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from /home/frederik_siepe/JUCE/modules/juce_gui_extra/juce_gui_extra.cpp:119,
                 from ../../JuceLibraryCode/include_juce_gui_extra.cpp:9:
/usr/include/glib-2.0/glib/gtypes.h: In function ‘gboolean _GLIB_CHECKED_ADD_U64(guint64*, guint64, guint64)’:
/usr/include/glib-2.0/glib/gmacros.h:145:29: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative
   __attribute__((__unused__))
                             ^
/usr/include/glib-2.0/glib/gmacros.h:241:120: note: in expansion of macro ‘G_GNUC_UNUSED’
 #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED
                                                                                                                        ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:423:3: note: in expansion of macro ‘G_STATIC_ASSERT’
   G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
   ^~~~~~~~~~~~~~~
Makefile:607: recipe for target 'build/intermediate/Debug/include_juce_audio_formats_15f82001.o' failed
make: *** [build/intermediate/Debug/include_juce_audio_formats_15f82001.o] Error 1
make: *** Waiting for unfinished jobs....
Makefile:662: recipe for target 'build/intermediate/Debug/include_juce_gui_extra_6dee1c1a.o' failed
make: *** [build/intermediate/Debug/include_juce_gui_extra_6dee1c1a.o] Error 1

Is this something I can fix or do I have to use a 32Bit OS in order to build 32Bit?