Add debug flag for building

* In order to have more information displayed in Travis-CI