Separate compile and pack