Added a script for building imagine in release mode