Migration to build system based on make