Added debugging and level 3 optimization on build