precompile and clean up gem file