Add -Wunreachable-code compiler option in debug mode

Closes #55