Ugly hack to make it work on Ninja with no faults

Spotted-by: Carl Helmertz <chelmertz@op5.com>
Signed-off-by: Mattias Ryrlén <mattiasr@op5.com>