Fix compiler warning about unused label on non Win32

- fixed warning
- seperated both error conditions
- removed a "goto" and the corresponding label
- more descriptive error messages