Enable support for building static