Separate compiling and install stage