FIX: Endless Loop due to Compiler Optimization

Turns out that the compiler actually optimized my code into an endless loop... `volatile` for the win.