Fix compile error

Fix compile error due to use of "elseif" instead of "else if" (no
space).