make differenct build modes, default is debug mode