Make loading fail if operating system is not supported

Signed-off-by: Samuli Seppänen <samuli.seppanen@gmail.com>