Build: Options: Parse faulty options more cleanly

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>