Fixed default library creation bug