Updated build script for Raspberry Pi