Moved the configure to the install phase