Enabled static building
Travis tests build using static and dynamic linking