added checking keystore properties for building in release mode