Fixed build system for new sparrow version