I have problems similar issues #17, #18. I have found the solve in Internet, and it work. But I newbie in Stage and I'm not sure that this patch will work correctly every time.
Fixed build errors
Thanks for the patch. I've fixed the bug in a more compact way in git master.