Fix #77 Update build system to set permissions correctly on live system.