Implement compile action (tested on linux only)