Added option to set build configuration on command line