Corrections in build system to get it working with Package Control