[Flat packages] Build issue with preinstall/postinstall scripts in PackageMaker 3