Revert "Suppress undefined for all builds"

This reverts commit 18ed00817e1d17bc2a1237a5cd187c3e2be95287.
Add compilation options for non-OS X operating systems