Add workaround handling for missing alarm() and pause()

7 files changed