update build script for infrastructures with apt package manager