Added support to build debug and release seperatly