configure before build